package com.aioz.security.service;

import com.aioz.security.common.ResponseResult;
import com.aioz.security.entity.Company;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Aioz
 * @since 2022-09-27
 */
public interface CompanyService extends IService<Company> {

    ResponseResult getAllCompanies(Integer currentPage, Integer size);

    ResponseResult getHotCompanies(Integer currentPage);

    ResponseResult updateCompanyInfo(String location, Company company);

    ResponseResult getBasicInfoByName(String name);
}
